package solutions.leetcode.normal

/**
 * @author lizhidong
 * <a href="https://leetcode.cn/problems/sort-the-students-by-their-kth-score/">2545. 根据第 K 场考试的分数排序</a>
 */
private class Solution2545 {
    fun sortTheStudents(score: Array<IntArray>, k: Int): Array<IntArray> {
        score.sortBy { it[k] }
        return score
    }
}

fun main() {
    
}